#!/usr/bin/python

# mensei-system: An inventory and point-of-sale system for Mensei Enterprise
# Copyright (C) 2011 Aldo Balagulan, Patrick Calulo, Wyn Manlim
# 
# This file is part of mensei-system.
# 
# mensei-system is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# mensei-system is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with mensei-system.  If not, see <http://www.gnu.org/licenses/>.

# main.py
#
# Main python file, run this to run the program.
# Program execution must begin in this file so source files in subfolders
# are able to import source files in other subfolders, i.e. if execution
# began in gui/main_window.py, no file would be able to import resources
# from core/base.py.

from PySide.QtCore import *
from PySide import QtCore
from PySide.QtGui import *

import sys

from gui.main_window import *

app = QApplication(sys.argv)

print 'Starting the application...'

if __name__ == '__main__':
    wnd = MenseiMainWindow()
    wnd.show()
    sys.exit(app.exec_())

